package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.mapper.WorkflowHistoryMapper;
import com.zhentao.pojo.WorkflowHistory;
import com.zhentao.service.WorkflowHistoryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 流程历史Service实现类
 */
@Service
public class WorkflowHistoryServiceImpl extends ServiceImpl<WorkflowHistoryMapper, WorkflowHistory> implements WorkflowHistoryService {
    
    @Override
    public List<WorkflowHistory> getHistoryByTaskId(Long taskId) {
        return baseMapper.selectByTaskId(taskId);
    }
} 